package com.zyb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zyb.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyb.pojo.LoginForm;

public interface AdminService extends IService<Admin> {

    //登录校验
    Admin login(LoginForm loginForm);

    //获取登录人的信息并查询
    Admin getAdminById(Long userId);

    //条件查询带分页
    IPage<Admin> getAdminsPage(Integer pageNo, Integer pageSize, String adminName);
}
